package com.nf.action;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TestAction {

    @RequestMapping("/kkkk")
    public String fdsdfsd(Model model,String username){
        System.out.println(username);
        String pp = username + "先生";
        model.addAttribute("pp8",pp);
        return "a1";
    }


    @RequestMapping("/kkkk2")
    public String fdsdf23sd(Model model,String username){
        System.out.println(username);
        String pp = username + "先生";
        model.addAttribute("pp8",pp);
        return "a1";
    }
}
